<?php
/**
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file license.txt or that can be found at 
 * http://code.google.com/p/billboardce/wiki/License.
 *
 * @package    Ot_Oauth_Server
 * @category   Library
 * @license    http://code.google.com/p/billboardce/wiki/License New BSD License
 * @version    SVN: $Id: $
 */

/**
 * Our Oauth server implementation
 *
 * @package    Ot_Oauth_Server
 * @category   Remote OAuth Authentication
 */
class Ot_Oauth_Server extends Oauth_Server
{
	public function __construct($dataStore = null)
	{
		if (is_null($dataStore)) {
			$dataStore = new Ot_Oauth_Datastore();
		}
		
		parent::__construct($dataStore);
		
		$this->addSignatureMethod(new Oauth_Signature_Method_HMACSHA1());
	}
}